package com.example.recharge;

import android.content.Intent;

import android.os.Handler;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;

public class MainActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        //设置一个自动跳转页面的程序
        new Handler().postDelayed(new Runnable() {
            public void run() {
                Intent it= new Intent();
                it.setClass(MainActivity.this, one0.class);
                MainActivity.this.startActivity(it);
            }
        }, 1000);
    }
}
